using System;
using System.Collections.Generic;
using System.Reflection;
using System.Runtime.InteropServices;

using ILRuntime.CLR.TypeSystem;
using ILRuntime.CLR.Method;
using ILRuntime.Runtime.Enviorment;
using ILRuntime.Runtime.Intepreter;
using ILRuntime.Runtime.Stack;
using ILRuntime.Reflection;
using ILRuntime.CLR.Utils;
using System.Linq;

namespace ILRuntime.Runtime.Generated
{
    unsafe class huqiang_UIComposite_ScrollX_Binding
    {
        public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
        {
            BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
            MethodBase method;
            FieldInfo field;
            Type[] args;
            Type type = typeof(huqiang.UIComposite.ScrollX);
            args = new Type[]{};
            method = type.GetMethod("get_Point", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, get_Point_0);
            args = new Type[]{typeof(System.Single)};
            method = type.GetMethod("set_Point", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, set_Point_1);
            args = new Type[]{};
            method = type.GetMethod("get_Pos", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, get_Pos_2);
            args = new Type[]{typeof(System.Single)};
            method = type.GetMethod("set_Pos", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, set_Pos_3);
            args = new Type[]{};
            method = type.GetMethod("get_Slider", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, get_Slider_4);
            args = new Type[]{typeof(huqiang.UIComposite.UISlider)};
            method = type.GetMethod("set_Slider", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, set_Slider_5);
            args = new Type[]{typeof(huqiang.Data.FakeStruct), typeof(huqiang.Core.HGUI.UIElement), typeof(huqiang.Core.HGUI.UIInitializer)};
            method = type.GetMethod("Initial", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Initial_6);
            args = new Type[]{};
            method = type.GetMethod("Calcul", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Calcul_7);
            args = new Type[]{typeof(System.Single), typeof(System.Single)};
            method = type.GetMethod("Refresh", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Refresh_8);
            args = new Type[]{typeof(System.Int32)};
            method = type.GetMethod("ShowBxIndex", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, ShowBxIndex_9);
            args = new Type[]{typeof(System.Single)};
            method = type.GetMethod("Update", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Update_10);
            args = new Type[]{typeof(UnityEngine.Vector2)};
            method = type.GetMethod("DurScroll", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, DurScroll_11);
            args = new Type[]{typeof(System.Collections.Generic.List<huqiang.UIComposite.ScrollItem>)};
            method = type.GetMethod("GetCenterItem", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, GetCenterItem_12);
            args = new Type[]{typeof(huqiang.UIEvent.UserEvent), typeof(huqiang.UIEvent.UserAction), typeof(System.Int32)};
            method = type.GetMethod("MoveToIndex", flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, MoveToIndex_13);

            field = type.GetField("eventCall", flag);
            app.RegisterCLRFieldGetter(field, get_eventCall_0);
            app.RegisterCLRFieldSetter(field, set_eventCall_0);
            app.RegisterCLRFieldBinding(field, CopyToStack_eventCall_0, AssignFromStack_eventCall_0);
            field = type.GetField("ItemDockCenter", flag);
            app.RegisterCLRFieldGetter(field, get_ItemDockCenter_1);
            app.RegisterCLRFieldSetter(field, set_ItemDockCenter_1);
            app.RegisterCLRFieldBinding(field, CopyToStack_ItemDockCenter_1, AssignFromStack_ItemDockCenter_1);
            field = type.GetField("DynamicSize", flag);
            app.RegisterCLRFieldGetter(field, get_DynamicSize_2);
            app.RegisterCLRFieldSetter(field, set_DynamicSize_2);
            app.RegisterCLRFieldBinding(field, CopyToStack_DynamicSize_2, AssignFromStack_DynamicSize_2);
            field = type.GetField("Scroll", flag);
            app.RegisterCLRFieldGetter(field, get_Scroll_3);
            app.RegisterCLRFieldSetter(field, set_Scroll_3);
            app.RegisterCLRFieldBinding(field, CopyToStack_Scroll_3, AssignFromStack_Scroll_3);
            field = type.GetField("ScrollStart", flag);
            app.RegisterCLRFieldGetter(field, get_ScrollStart_4);
            app.RegisterCLRFieldSetter(field, set_ScrollStart_4);
            app.RegisterCLRFieldBinding(field, CopyToStack_ScrollStart_4, AssignFromStack_ScrollStart_4);
            field = type.GetField("ScrollEnd", flag);
            app.RegisterCLRFieldGetter(field, get_ScrollEnd_5);
            app.RegisterCLRFieldSetter(field, set_ScrollEnd_5);
            app.RegisterCLRFieldBinding(field, CopyToStack_ScrollEnd_5, AssignFromStack_ScrollEnd_5);


            app.RegisterCLRCreateDefaultInstance(type, () => new huqiang.UIComposite.ScrollX());
            app.RegisterCLRCreateArrayInstance(type, s => new huqiang.UIComposite.ScrollX[s]);

            args = new Type[]{};
            method = type.GetConstructor(flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Ctor_0);

        }


        static StackObject* get_Point_0(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.UIComposite.ScrollX instance_of_this_method = (huqiang.UIComposite.ScrollX)typeof(huqiang.UIComposite.ScrollX).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            var result_of_this_method = instance_of_this_method.Point;

            __ret->ObjectType = ObjectTypes.Float;
            *(float*)&__ret->Value = result_of_this_method;
            return __ret + 1;
        }

        static StackObject* set_Point_1(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            System.Single @value = *(float*)&ptr_of_this_method->Value;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.UIComposite.ScrollX instance_of_this_method = (huqiang.UIComposite.ScrollX)typeof(huqiang.UIComposite.ScrollX).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.Point = value;

            return __ret;
        }

        static StackObject* get_Pos_2(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.UIComposite.ScrollX instance_of_this_method = (huqiang.UIComposite.ScrollX)typeof(huqiang.UIComposite.ScrollX).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            var result_of_this_method = instance_of_this_method.Pos;

            __ret->ObjectType = ObjectTypes.Float;
            *(float*)&__ret->Value = result_of_this_method;
            return __ret + 1;
        }

        static StackObject* set_Pos_3(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            System.Single @value = *(float*)&ptr_of_this_method->Value;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.UIComposite.ScrollX instance_of_this_method = (huqiang.UIComposite.ScrollX)typeof(huqiang.UIComposite.ScrollX).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.Pos = value;

            return __ret;
        }

        static StackObject* get_Slider_4(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.UIComposite.ScrollX instance_of_this_method = (huqiang.UIComposite.ScrollX)typeof(huqiang.UIComposite.ScrollX).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            var result_of_this_method = instance_of_this_method.Slider;

            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static StackObject* set_Slider_5(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.UIComposite.UISlider @value = (huqiang.UIComposite.UISlider)typeof(huqiang.UIComposite.UISlider).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.UIComposite.ScrollX instance_of_this_method = (huqiang.UIComposite.ScrollX)typeof(huqiang.UIComposite.ScrollX).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.Slider = value;

            return __ret;
        }

        static StackObject* Initial_6(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 4);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.Core.HGUI.UIInitializer @initializer = (huqiang.Core.HGUI.UIInitializer)typeof(huqiang.Core.HGUI.UIInitializer).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.Core.HGUI.UIElement @script = (huqiang.Core.HGUI.UIElement)typeof(huqiang.Core.HGUI.UIElement).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
            huqiang.Data.FakeStruct @mod = (huqiang.Data.FakeStruct)typeof(huqiang.Data.FakeStruct).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
            huqiang.UIComposite.ScrollX instance_of_this_method = (huqiang.UIComposite.ScrollX)typeof(huqiang.UIComposite.ScrollX).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.Initial(@mod, @script, @initializer);

            return __ret;
        }

        static StackObject* Calcul_7(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            huqiang.UIComposite.ScrollX instance_of_this_method = (huqiang.UIComposite.ScrollX)typeof(huqiang.UIComposite.ScrollX).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.Calcul();

            return __ret;
        }

        static StackObject* Refresh_8(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 3);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            System.Single @y = *(float*)&ptr_of_this_method->Value;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            System.Single @x = *(float*)&ptr_of_this_method->Value;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
            huqiang.UIComposite.ScrollX instance_of_this_method = (huqiang.UIComposite.ScrollX)typeof(huqiang.UIComposite.ScrollX).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.Refresh(@x, @y);

            return __ret;
        }

        static StackObject* ShowBxIndex_9(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            System.Int32 @_index = ptr_of_this_method->Value;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.UIComposite.ScrollX instance_of_this_method = (huqiang.UIComposite.ScrollX)typeof(huqiang.UIComposite.ScrollX).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.ShowBxIndex(@_index);

            return __ret;
        }

        static StackObject* Update_10(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            System.Single @time = *(float*)&ptr_of_this_method->Value;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.UIComposite.ScrollX instance_of_this_method = (huqiang.UIComposite.ScrollX)typeof(huqiang.UIComposite.ScrollX).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.Update(@time);

            return __ret;
        }

        static StackObject* DurScroll_11(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 2);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            UnityEngine.Vector2 @v = (UnityEngine.Vector2)typeof(UnityEngine.Vector2).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)16);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.UIComposite.ScrollX instance_of_this_method = (huqiang.UIComposite.ScrollX)typeof(huqiang.UIComposite.ScrollX).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.DurScroll(@v);

            return __ret;
        }

        static StackObject* GetCenterItem_12(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 1);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            System.Collections.Generic.List<huqiang.UIComposite.ScrollItem> @items = (System.Collections.Generic.List<huqiang.UIComposite.ScrollItem>)typeof(System.Collections.Generic.List<huqiang.UIComposite.ScrollItem>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);


            var result_of_this_method = huqiang.UIComposite.ScrollX.GetCenterItem(@items);

            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static StackObject* MoveToIndex_13(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* ptr_of_this_method;
            StackObject* __ret = ILIntepreter.Minus(__esp, 4);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 1);
            System.Int32 @index = ptr_of_this_method->Value;

            ptr_of_this_method = ILIntepreter.Minus(__esp, 2);
            huqiang.UIEvent.UserAction @action = (huqiang.UIEvent.UserAction)typeof(huqiang.UIEvent.UserAction).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 3);
            huqiang.UIEvent.UserEvent @back = (huqiang.UIEvent.UserEvent)typeof(huqiang.UIEvent.UserEvent).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            ptr_of_this_method = ILIntepreter.Minus(__esp, 4);
            huqiang.UIComposite.ScrollX instance_of_this_method = (huqiang.UIComposite.ScrollX)typeof(huqiang.UIComposite.ScrollX).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            __intp.Free(ptr_of_this_method);

            instance_of_this_method.MoveToIndex(@back, @action, @index);

            return __ret;
        }


        static object get_eventCall_0(ref object o)
        {
            return ((huqiang.UIComposite.ScrollX)o).eventCall;
        }

        static StackObject* CopyToStack_eventCall_0(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.UIComposite.ScrollX)o).eventCall;
            object obj_result_of_this_method = result_of_this_method;
            if(obj_result_of_this_method is CrossBindingAdaptorType)
            {    
                return ILIntepreter.PushObject(__ret, __mStack, ((CrossBindingAdaptorType)obj_result_of_this_method).ILInstance);
            }
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_eventCall_0(ref object o, object v)
        {
            ((huqiang.UIComposite.ScrollX)o).eventCall = (huqiang.UIEvent.UserEvent)v;
        }

        static StackObject* AssignFromStack_eventCall_0(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            huqiang.UIEvent.UserEvent @eventCall = (huqiang.UIEvent.UserEvent)typeof(huqiang.UIEvent.UserEvent).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((huqiang.UIComposite.ScrollX)o).eventCall = @eventCall;
            return ptr_of_this_method;
        }

        static object get_ItemDockCenter_1(ref object o)
        {
            return ((huqiang.UIComposite.ScrollX)o).ItemDockCenter;
        }

        static StackObject* CopyToStack_ItemDockCenter_1(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.UIComposite.ScrollX)o).ItemDockCenter;
            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method ? 1 : 0;
            return __ret + 1;
        }

        static void set_ItemDockCenter_1(ref object o, object v)
        {
            ((huqiang.UIComposite.ScrollX)o).ItemDockCenter = (System.Boolean)v;
        }

        static StackObject* AssignFromStack_ItemDockCenter_1(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Boolean @ItemDockCenter = ptr_of_this_method->Value == 1;
            ((huqiang.UIComposite.ScrollX)o).ItemDockCenter = @ItemDockCenter;
            return ptr_of_this_method;
        }

        static object get_DynamicSize_2(ref object o)
        {
            return ((huqiang.UIComposite.ScrollX)o).DynamicSize;
        }

        static StackObject* CopyToStack_DynamicSize_2(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.UIComposite.ScrollX)o).DynamicSize;
            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method ? 1 : 0;
            return __ret + 1;
        }

        static void set_DynamicSize_2(ref object o, object v)
        {
            ((huqiang.UIComposite.ScrollX)o).DynamicSize = (System.Boolean)v;
        }

        static StackObject* AssignFromStack_DynamicSize_2(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Boolean @DynamicSize = ptr_of_this_method->Value == 1;
            ((huqiang.UIComposite.ScrollX)o).DynamicSize = @DynamicSize;
            return ptr_of_this_method;
        }

        static object get_Scroll_3(ref object o)
        {
            return ((huqiang.UIComposite.ScrollX)o).Scroll;
        }

        static StackObject* CopyToStack_Scroll_3(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.UIComposite.ScrollX)o).Scroll;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_Scroll_3(ref object o, object v)
        {
            ((huqiang.UIComposite.ScrollX)o).Scroll = (System.Action<huqiang.UIComposite.ScrollX, UnityEngine.Vector2>)v;
        }

        static StackObject* AssignFromStack_Scroll_3(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Action<huqiang.UIComposite.ScrollX, UnityEngine.Vector2> @Scroll = (System.Action<huqiang.UIComposite.ScrollX, UnityEngine.Vector2>)typeof(System.Action<huqiang.UIComposite.ScrollX, UnityEngine.Vector2>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)8);
            ((huqiang.UIComposite.ScrollX)o).Scroll = @Scroll;
            return ptr_of_this_method;
        }

        static object get_ScrollStart_4(ref object o)
        {
            return ((huqiang.UIComposite.ScrollX)o).ScrollStart;
        }

        static StackObject* CopyToStack_ScrollStart_4(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.UIComposite.ScrollX)o).ScrollStart;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_ScrollStart_4(ref object o, object v)
        {
            ((huqiang.UIComposite.ScrollX)o).ScrollStart = (System.Action<huqiang.UIComposite.ScrollX>)v;
        }

        static StackObject* AssignFromStack_ScrollStart_4(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Action<huqiang.UIComposite.ScrollX> @ScrollStart = (System.Action<huqiang.UIComposite.ScrollX>)typeof(System.Action<huqiang.UIComposite.ScrollX>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)8);
            ((huqiang.UIComposite.ScrollX)o).ScrollStart = @ScrollStart;
            return ptr_of_this_method;
        }

        static object get_ScrollEnd_5(ref object o)
        {
            return ((huqiang.UIComposite.ScrollX)o).ScrollEnd;
        }

        static StackObject* CopyToStack_ScrollEnd_5(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.UIComposite.ScrollX)o).ScrollEnd;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_ScrollEnd_5(ref object o, object v)
        {
            ((huqiang.UIComposite.ScrollX)o).ScrollEnd = (System.Action<huqiang.UIComposite.ScrollX>)v;
        }

        static StackObject* AssignFromStack_ScrollEnd_5(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Action<huqiang.UIComposite.ScrollX> @ScrollEnd = (System.Action<huqiang.UIComposite.ScrollX>)typeof(System.Action<huqiang.UIComposite.ScrollX>).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)8);
            ((huqiang.UIComposite.ScrollX)o).ScrollEnd = @ScrollEnd;
            return ptr_of_this_method;
        }



        static StackObject* Ctor_0(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* __ret = ILIntepreter.Minus(__esp, 0);

            var result_of_this_method = new huqiang.UIComposite.ScrollX();

            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }


    }
}
